package com.github.pig.admin.service.zhekou.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.github.pig.admin.mapper.zhekou.SysFeeZhekouMapper;
import com.github.pig.admin.model.zhekou.SysFeeZhekou;
import com.github.pig.admin.model.zhekou.SysFeeZhekouWhere;
import com.github.pig.admin.service.zhekou.ISysFeeZhekouService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lxm
 * @since 2018-09-25
 */
@Service
public class SysFeeZhekouServiceImpl extends ServiceImpl<SysFeeZhekouMapper, SysFeeZhekou> implements ISysFeeZhekouService {
    @Resource
    private SysFeeZhekouMapper sysFeeZhekouMapper;

    @Override
    public Page selectZheKouPage(Page<SysFeeZhekou> page, SysFeeZhekouWhere sysFeeZhekouWhere) {
        List<SysFeeZhekou> result = sysFeeZhekouMapper.selectZheKouPage(page,sysFeeZhekouWhere);
        page.setRecords(result);
        return page;
    }
}
